package com.smile.data.dto;

import com.smile.data.entity.ProductItemEntity
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import lombok.Data

@Data
@ApiModel("创建商品实体")
class ProductItemCreateDto {
    @ApiModelProperty("商品菜单")
     var menu: String? = ""

    @ApiModelProperty("商品菜单")
    var code: String? = ""

    @ApiModelProperty("商品菜单")
    var title: String? = ""

    @ApiModelProperty("商品菜单")
    var description: String? = ""

    @ApiModelProperty("商品菜单")
    var coverUrl: String? = ""

    @ApiModelProperty("商品菜单")
    var price: Int? = null

    @ApiModelProperty("商品菜单")
    var stockTotal: Int? = null

    @ApiModelProperty("商品菜单")
    var status: String? = ""

    @ApiModelProperty("商品菜单")
    var sort: String? = ""
}
